package com.jay.relationships.transfer;

import java.util.ArrayList;
import java.util.List;

public class HealthRecord {
    private List<HealthTask> tasks = new ArrayList<>();


    public void addTask(String taskName,Integer initialHealPoint){
        HealthTask task = new HealthTask( taskName, initialHealPoint);
        tasks.add(task);
    }

    public HealthLevelHandler getHealthPointHandler(){
        return new HealthLevelHandler(new Integer(tasks.size()));
    }

    public List<HealthTask> getTasks(){
        return tasks;
    }
}
